package org.framework.test.util;

/**
 * <p>
 * <p>Title:ResultEnum.java</p >
 * <p>Description: 接口返回值的状态码及对应的信息 </p >
 * <p>Copyright: Copyright(c)2020</p >
 * <p>Date:2021/5/29 14:58</p >
 *
 * @author quzp
 * @version 1.0
 */
public enum ResultEnum {
    SUCCESS(200,"成功"),
    FAIL(500,"异常"),
    ;
    public Integer code;
    public String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
